package com.cskaoyan.bean.bo.WxglMallManagementControllerBo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.DecimalMin;
import java.util.Date;

/**
 * @author wxgl
 * @date 2022-12-28 22:27
 * @describe
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderListBo {
    Integer page;
    Integer limit;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date[] timeArray;
    Short orderStatusArray;
    String sort;
    String order;
    @DecimalMin("1")
    Integer orderId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date start;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date end;
    @DecimalMin("1")
    Integer userId;
    Integer orderSn;
}
